info_tuple = ("zhangsan", 18, 1.75, "zhangsan")

#取值、取索引
print(info_tuple[0])
print(info_tuple.index("zhangsan"))

#统计计数
print(info_tuple.count("zhangsan"))
print(len(info_tuple))
print('-'*50)

for i in info_tuple:
    print(i)

info_tuple = ("小明", 21, 1.85)

info_str = "%s 年龄是 %d 身高是 %.2f" % info_tuple
info_str1="{} 年龄是 {} 身高是 {}".format(*info_tuple)
print(info_str)
print(info_str1)